package com.hyt.it.ogt.kq.service.gov.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.it.ogt.kq.service.gov.model.dto.ticket.TimeInfoDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author wuyingge
 * @version 1.0.0
 * @ClassName CandidateXJBM.java
 * @Description 新疆报名临时表对应
 * @createTime 2022年08月04日 15:04:00
 */
@Data
@Accessors(chain = true)
@TableName("temp_xjks")
@ApiModel(value="tempxjks对象", description="新疆报名临时考生数据表")
public class CandidateXJBM implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    @ApiModelProperty(value = "考试任务id")
    @TableField("task_id")
    private String taskId;

    @ApiModelProperty(value = "考生id")
    @TableField("candidate_id")
    private String candidateId;

    @ApiModelProperty(value = "项目id")
    @TableField("project_id")
    private String projectId;

    @ApiModelProperty(value = "状态")
    @TableField("is_deal")
    private Integer isDeal;

    @ApiModelProperty(value = "序号")
    @TableField("xh")
    private String xH;

    @ApiModelProperty(value = "姓名")
    @TableField("xm")
    private String xm;

    @ApiModelProperty(value = "ID")
    @TableField("sfzh")
    private String sfzh;

    @ApiModelProperty(value = "岗位代码")
    @TableField("gwdm")
    private String gwdm;

    @ApiModelProperty(value = "考试地址")
    @TableField("ksdd")
    private String ksdd;

    @ApiModelProperty(value = "准考证号")
    @TableField("zkzh")
    private String zkzh;

    @ApiModelProperty(value = "考场号")
    @TableField("kch")
    private String kch;

    @ApiModelProperty(value = "座位号")
    @TableField("zwh")
    private String zwh;

    @ApiModelProperty(value = "考试科目")
    @TableField("kskm")
    private String kskm;

    @ApiModelProperty(value = "photo")
    @TableField("zp")
    private String zp;

    @ApiModelProperty(value = "手机号")
    @TableField("sjh")
    private String sjh;

    @ApiModelProperty(value = "开始时间")
    @TableField("ks")
    private String ks;

    @ApiModelProperty(value = "结束时间")
    @TableField("js")
    private String js;

    //只是为了代码不报错
    @TableField(exist = false)
    List<TimeInfoDTO> timeInfoDTOList = new ArrayList<>();
}
